package com.topisv.tms.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Version;

@Entity
@Table(name = "logistics_mail_no")
public class LogisticsMailNo extends IdEntity{
	private String companyCode ;//varchar(32) DEFAULT NULL COMMENT '物流公司编码',
	private String areaGroupCode  ;//varchar(32) DEFAULT NULL COMMENT '网点编码',
	private String mailNo ;// varchar(32) DEFAULT NULL COMMENT '电子面单号',
	private Date createTime  ;//datetime DEFAULT NULL COMMENT '创建时间',
	private String sequence;//第几次申领
	private int version;//版本号
	
	@Version
	public int getVersion() {
		return version;
	}
	public void setVersion(int version) {
		this.version = version;
	}
	public String getSequence() {
		return sequence;
	}
	public void setSequence(String sequence) {
		this.sequence = sequence;
	}
	public String getCompanyCode() {
		return companyCode;
	}
	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}
	public String getAreaGroupCode() {
		return areaGroupCode;
	}
	public void setAreaGroupCode(String areaGroupCode) {
		this.areaGroupCode = areaGroupCode;
	}
	public String getMailNo() {
		return mailNo;
	}
	public void setMailNo(String mailNo) {
		this.mailNo = mailNo;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	private String  status  ;//varchar(11) DEFAULT NULL COMMENT '状态',
}
